Skip to content

Conversation

@aleslash
Copy link

Issue #, if available:

Description of changes:
Made possible to use ack helm chart with localstack for easy local development.
In order to run ack with localstack and kind you need to configure ack controller to have the identity_endpoint_url set to sts in localstack and enable the allow_unsafe_aws_endpoint_urls.
Without this PR it is impossible to use the original chart.

The chart now has two new optional parameters that enable this integration locally in kind environment.
The deployment manifest now also have this optional parameters.

So, when applying the new helm chart, you can use this:

helm upgrade --install --force ack-dynamodb-controller --namespace ack-system --set aws.endpoint_url=http://localhost:4566 --set aws.identity_endpoint_url=http://localhost:4566 --set aws.credentials.secretName=xxx --set aws.allow_unsafe_aws_endpoint_urls=true --create-namespace ack/dynamodb-chart

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ack-prow ack-prow bot requested review from a-hilaly and knottnt November 19, 2025 20:12
@ack-prow
Copy link

ack-prow bot commented Nov 19, 2025

Hi @aleslash. Thanks for your PR.

I'm waiting for a aws-controllers-k8s member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ack-prow ack-prow bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Nov 19, 2025
Copy link
Member

@a-hilaly a-hilaly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ack-prow
Copy link

ack-prow bot commented Nov 23, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: a-hilaly, aleslash

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ack-prow ack-prow bot added the approved label Nov 23, 2025
@a-hilaly
Copy link
Member

/ok-to-test

@ack-prow ack-prow bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Nov 23, 2025
Comment on lines +54 to +60
{{- if .Values.aws.identity_endpoint_url }}
- --aws-identity-endpoint-url
- "$(AWS_IDENTITY_ENDPOINT_URL)"
{{- end }}
{{- if .Values.aws.allow_unsafe_aws_endpoint_urls }}
- --allow-unsafe-aws-endpoint-urls
{{- end }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your PR @aleslash.

These need to be a template of a template like:

{{ "{{- if .Values.log.enable_development_logging }}" }}
        - --enable-development-logging
{{ "{{- end }}" }}

can you please address this?

@ack-prow
Copy link

ack-prow bot commented Nov 23, 2025

@aleslash: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
verify-attribution 959f440 link false /test verify-attribution
s3-olm-test 959f440 link false /test s3-olm-test
apigatewayv2-controller-test 959f440 link true /test apigatewayv2-controller-test
cloudfront-controller-test 959f440 link true /test cloudfront-controller-test
documentdb-controller-test 959f440 link true /test documentdb-controller-test
acm-controller-test 959f440 link true /test acm-controller-test
pipes-controller-test 959f440 link true /test pipes-controller-test
eventbridge-controller-test 959f440 link true /test eventbridge-controller-test
iam-controller-test 959f440 link true /test iam-controller-test
lambda-controller-test 959f440 link true /test lambda-controller-test
eks-controller-test 959f440 link true /test eks-controller-test
efs-controller-test 959f440 link true /test efs-controller-test
ecr-controller-test 959f440 link true /test ecr-controller-test
ec2-controller-test 959f440 link true /test ec2-controller-test
dynamodb-controller-test 959f440 link true /test dynamodb-controller-test
prometheusservice-controller-test 959f440 link true /test prometheusservice-controller-test
s3-controller-test 959f440 link true /test s3-controller-test

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved ok-to-test Indicates a non-member PR verified by an org member that is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants